package com.assessment.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.assessment.dto.PerformanceInterviewDTO;
import com.assessment.entity.PerformanceInterview;

public interface IPerformanceInterviewService 
{
	public void saveOrUpdate(PerformanceInterviewDTO PerformanceInterviewDTO);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public PerformanceInterview findOne(Long id);
	public List<PerformanceInterview> findAll();
	//动态条件查询
	public Page<PerformanceInterviewDTO> findAll(Specification<PerformanceInterview> spec, Pageable pageable);
}
